<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <service id="monolog.logger" parent="monolog.logger_prototype" public="false">
            <argument index="0">app</argument>
            <call method="useMicrosecondTimestamps">
                <argument>%monolog.use_microseconds%</argument>
            </call>
        </service>

        <service id="logger" alias="monolog.logger" />

        <service id="Psr\Log\LoggerInterface" alias="logger" public="false" />

        <service id="monolog.logger_prototype" class="Symfony\Bridge\Monolog\Logger" abstract="true">
            <argument /><!-- Channel -->
        </service>

        <service id="monolog.activation_strategy.not_found" class="Symfony\Bridge\Monolog\Handler\FingersCrossed\NotFoundActivationStrategy" abstract="true" />
        <service id="monolog.handler.fingers_crossed.error_level_activation_strategy" class="Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy" abstract="true" />

        <!-- Formatters -->
        <service id="monolog.formatter.chrome_php" class="Monolog\Formatter\ChromePHPFormatter" public="false" />
        <service id="monolog.formatter.gelf_message" class="Monolog\Formatter\GelfMessageFormatter" public="false" />
        <service id="monolog.formatter.html" class="Monolog\Formatter\HtmlFormatter" public="false" />
        <service id="monolog.formatter.json" class="Monolog\Formatter\JsonFormatter" public="false" />
        <service id="monolog.formatter.line" class="Monolog\Formatter\LineFormatter" public="false" />
        <service id="monolog.formatter.loggly" class="Monolog\Formatter\LogglyFormatter" public="false" />
        <service id="monolog.formatter.normalizer" class="Monolog\Formatter\NormalizerFormatter" public="false" />
        <service id="monolog.formatter.scalar" class="Monolog\Formatter\ScalarFormatter" public="false" />
        <service id="monolog.formatter.wildfire" class="Monolog\Formatter\WildfireFormatter" public="false" />
        <service id="monolog.formatter.logstash" class="Monolog\Formatter\LogstashFormatter" public="false">
            <argument index="0">app</argument>
        </service>

        <service id="monolog.http_client" class="Symfony\Contracts\HttpClient\HttpClientInterface" public="false">
            <factory class="Symfony\Component\HttpClient\HttpClient" method="create" />
        </service>
    </services>
</container>
